﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NetTopologySuite.Features;
namespace Observer
{
    public class MapCanvasObserver:IObserver

    {
        public void update(IFeature feature, ChangeStatus status)
        {
            if (status == ChangeStatus.GEOMETRY)
            {
                Console.WriteLine("要素Geometry改变为：" + feature.Geometry.ToText());
            }
            }
    }
}
